package com.deram.ctin.serv.business.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.deram.ctin.serv.enter.entity.EnterInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "对外投资")
public class BusinessInvestment implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "被投资企业ID")
    private Long investId;
    @ApiModelProperty(value = "被投资企业名称")
    private String investName;
    @ApiModelProperty(value = "投资时间")
    private Date investDate;
    @ApiModelProperty(value = "投资金额")
    private BigDecimal investMoney;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "商标")
    private String logoPath;
    @ApiModelProperty(value = "统一社会信用代码")
    private String unifiedCode;
    @ApiModelProperty(value = "法定代表人")
    private String legalReps;
    @ApiModelProperty(value = "法人识别号")
    private String legalRepsCode;
    @ApiModelProperty(value = "注册资本")
    private BigDecimal registeredCapital;
    @ApiModelProperty(value = "经营状态")
    private Integer managementStatus;
    @ApiModelProperty(value = "经营状态名字")
    private String managementStatusName;
    @ApiModelProperty(value = "成立日期")
    private Date creationDate;
    @ApiModelProperty(value = "所属行业")
    private String industryInvolved;
    @ApiModelProperty(value = "记录年份")
    private Integer year;


    @ApiModelProperty(value = "记录年份")
    @TableField(exist = false)
    private EnterInfo investEnterInfo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getInvestId() {
        return investId;
    }

    public void setInvestId(Long investId) {
        this.investId = investId;
    }

    public Date getInvestDate() {
        return investDate;
    }

    public void setInvestDate(Date investDate) {
        this.investDate = investDate;
    }

    public BigDecimal getInvestMoney() {
        return investMoney;
    }

    public void setInvestMoney(BigDecimal investMoney) {
        this.investMoney = investMoney;
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getInvestName() {
        return investName;
    }

    public void setInvestName(String investName) {
        this.investName = investName;
    }

    public String getUnifiedCode() {
        return unifiedCode;
    }

    public void setUnifiedCode(String unifiedCode) {
        this.unifiedCode = unifiedCode;
    }

    public String getLegalReps() {
        return legalReps;
    }

    public void setLegalReps(String legalReps) {
        this.legalReps = legalReps;
    }

    public String getLegalRepsCode() {
        return legalRepsCode;
    }

    public void setLegalRepsCode(String legalRepsCode) {
        this.legalRepsCode = legalRepsCode;
    }

    public BigDecimal getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(BigDecimal registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public Integer getManagementStatus() {
        return managementStatus;
    }

    public void setManagementStatus(Integer managementStatus) {
        this.managementStatus = managementStatus;
    }

    public String getManagementStatusName() {
        return managementStatusName;
    }

    public void setManagementStatusName(String managementStatusName) {
        this.managementStatusName = managementStatusName;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getIndustryInvolved() {
        return industryInvolved;
    }

    public void setIndustryInvolved(String industryInvolved) {
        this.industryInvolved = industryInvolved;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public String getLogoPath() {
        return logoPath;
    }

    public void setLogoPath(String logoPath) {
        this.logoPath = logoPath;
    }

    public EnterInfo getInvestEnterInfo() {
        return investEnterInfo;
    }

    public void setInvestEnterInfo(EnterInfo investEnterInfo) {
        this.investEnterInfo = investEnterInfo;
    }
}